package core;
import javax.swing.*;


public class Victory {

	
	public static void haveWon(Player p){
		if (p.getMana() >= Rules.VictoryMana){
			JOptionPane.showMessageDialog(null, "Congratulations, Player " + p.getName() + " you have won!");
		}
	}
	
	
}
